HeadFont Property

       

Returns or sets a value indicating the font used in column headers in a DataGrid control.

Syntax

object.Type [= value]

The Type property syntax has these parts:

Part Description
object An object expression that evaluates to an object in the Applies To list.
value An object expression that evaluates to a Font object. The default value is the column's current font set to bold.

Remarks

Changing the HeadFont property may resize the headers to accommodate the new font.